<HTML><HEAD><TITLE>Advanced Control and Suspensions</TITLE></HEAD><BODY>
[ <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]<H1>Advanced Control and Suspensions</H1>
Everything related to suspensions, priority- and data-driven control
<H2>Predicates</H2>
<BLOCKQUOTE>
<DL>
<DT><A HREF="attach_suspensions-2.html"><STRONG>attach_suspensions(+Trigger, ++Susps)</STRONG></A></DT>
<DD>Insert the suspensions Susps into the suspension list of the symbolic
trigger Trigger.

</DD>
<DT><A HREF="attached_suspensions-2.html"><STRONG>attached_suspensions(+Trigger, -SuspensionList)</STRONG></A></DT>
<DD>Retrieves a list of all suspensions attached to the symbolic trigger Trigger.</DD>
<DT><A HREF="call_priority-2.html"><STRONG>call_priority(+Goal, +Priority)</STRONG></A></DT>
<DD>Execute Goal with priority Priority.

</DD>
<DT><A HREF="current_suspension-1.html"><STRONG>current_suspension(?Susp)</STRONG></A></DT>
<DD>Susp is a live (sleeping or scheduled) suspension.

</DD>
<DT><A HREF="current_trigger-1.html"><STRONG>current_trigger(?Trigger)</STRONG></A></DT>
<DD>Succeeds if Trigger is a currently defined symbolic trigger.</DD>
<DT><A HREF="delayed_goals-1.html"><STRONG>delayed_goals(-GoalList)</STRONG></A></DT>
<DD>Succeeds if GoalList is the list of all goals currently delayed.

</DD>
<DT><A HREF="delayed_goals-2.html"><STRONG>delayed_goals(?Var, -GoalList)</STRONG></A></DT>
<DD>Succeeds if GoalList is the list of all goals delayed by the variable Var.

</DD>
<DT><A HREF="delayed_goals_number-2.html"><STRONG>delayed_goals_number(?Var, -Number)</STRONG></A></DT>
<DD>Succeeds if Number is the number of goals delayed by the variable Var.

</DD>
<DT><A HREF="enter_suspension_list-3.html"><STRONG>enter_suspension_list(+Position, +Attribute, +Susp)</STRONG></A></DT>
<DD>Enter the suspension Susp into the suspension list at position Positiion within the structure Attribute.</DD>
<DT><A HREF="get_priority-1.html"><STRONG>get_priority(-Priority)</STRONG></A></DT>
<DD>Get the priority of the currently executing goal.

</DD>
<DT><A HREF="get_suspension_data-3.html"><STRONG>get_suspension_data(?Susp, +Name, -Value)</STRONG></A></DT>
<DD>Access properties of suspended goals.

</DD>
<DT><A HREF="init_suspension_list-2.html"><STRONG>init_suspension_list(+Position, +Attribute)</STRONG></A></DT>
<DD>Initialise the argument position Position within the structure
Attribute with an empty suspension list.

</DD>
<DT><A HREF="insert_suspension-3.html"><STRONG>insert_suspension(?Term, +Susp, +Index)</STRONG></A></DT>
<DD>Insert the suspension Susp into the Index'th suspension list of the current
module's attribute for all attributed variables that occur in Term.

</DD>
<DT><A HREF="insert_suspension-4.html"><STRONG>insert_suspension(?Term, +Susp, +Index, +Module)</STRONG></A></DT>
<DD>Insert the suspension Susp into the Index'th suspension list of the
attribute Module for all attributed variables that occur in Term.

</DD>
<DT><A HREF="kill_suspension-1.html"><STRONG>kill_suspension(?Susp)</STRONG></A></DT>
<DD>Kill the suspended goal represented by Susp, i.e. treat it as if it had
been woken.

</DD>
<DT><A HREF="make_suspension-3.html"><STRONG>make_suspension(+Goal, +Prio, -Susp)</STRONG></A></DT>
<DD>Make Goal a suspended goal with waking priority Prio and return the
corresponding suspension object in Susp.

</DD>
<DT><A HREF="make_suspension-4.html"><STRONG>make_suspension(+Goal, +Prio, -Susp, +Module)</STRONG></A></DT>
<DD>Make Goal from module Module a suspended goal with waking priority Prio and
return the corresponding suspension object in Susp.

</DD>
<DT><A HREF="merge_suspension_lists-4.html"><STRONG>merge_suspension_lists(+Pos1, +Attr1, +Pos2, +Attr2)</STRONG></A></DT>
<DD>Destructively merge the suspension list on Pos1 in structure Attr1
into the suspension list on Pos2 in structure Attr2.

</DD>
<DT><A HREF="notify_constrained-1.html"><STRONG>notify_constrained(?Var)</STRONG></A></DT>
<DD>Notify the system that the given variable was constrained</DD>
<DT><A HREF="schedule_suspensions-1.html"><STRONG>schedule_suspensions(+Trigger)</STRONG></A></DT>
<DD>Take the suspension list associated with the symbolic trigger
Trigger and schedule them for execution.

</DD>
<DT><A HREF="schedule_suspensions-2.html"><STRONG>schedule_suspensions(+Position, +Attribute)</STRONG></A></DT>
<DD>Take the suspension list on argument position Position within Attribute,
and schedule them for execution.

</DD>
<DT><A HREF="set_suspension_data-3.html"><STRONG>set_suspension_data(+Susp, +Name, +Value)</STRONG></A></DT>
<DD>Modify properties of suspended goals.

</DD>
<DT><A HREF="subcall-2.html"><STRONG>subcall(+Goal, -Delayed_goals)</STRONG></A></DT>
<DD>Succeeds iff Goal succeeds and unifies Delayed_goals with a list of
remaining delayed goals.

</DD>
<DT><A HREF="suspend-3.html"><STRONG>suspend(+Goal, +Prio, +CondList)</STRONG></A></DT>
<DD>Suspend the Goal and wake it with priority Prio as soon as one of the
conditions in CondList occurs.</DD>
<DT><A HREF="suspend-4.html"><STRONG>suspend(+Goal, +Prio, +CondList, -Susp)</STRONG></A></DT>
<DD>Suspend the Goal and wake it with priority Prio as soon as one of the
conditions in CondList occurs.</DD>
<DT><A HREF="suspensions-1.html"><STRONG>suspensions(-Susps)</STRONG></A></DT>
<DD>Returns a list of all currently live (sleeping or scheduled) suspensions.

</DD>
<DT><A HREF="suspensions-2.html"><STRONG>suspensions(?Var, -SuspensionList)</STRONG></A></DT>
<DD>Retrieves a list of all suspensions attached to the variable Var.</DD>
<DT><A HREF="trigger-1.html"><STRONG>trigger(+Trigger)</STRONG></A></DT>
<DD>Wake the suspensions associated with the symbolic trigger Trigger
until there are no more left.

</DD>
<DT><A HREF="wake-0.html"><STRONG>wake</STRONG></A></DT>
<DD>Execute all scheduled suspensions whose priorities are higher than the current
one.

</DD>
</DL>
</BLOCKQUOTE>
<HR>Generated from suspensions.eci on 2009-05-27 01:25
</BODY></HTML>
